/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package HomeWork.demo02;

/**
 *
 * @2010405121 朱荻
 */
public class IncomeTax {

    public double IncomeTax() {
        double salary = 10000;
        double intax = salary - ((salary - 2000) * 0.2 - 375);
        return intax;
    }
}
